netfilter: nft_ct: add notrack support
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 20 Oct 2016 16:07:14 +0000 (18:07 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 2 May 2017 15:21:44 +0000 (15:21 +0000)
commitf6c86c7faaabd63d95d65df9a01a97d1cb2cc53a
tree7f0670a2956b11ee7838b12ad20b30c0ff8f9312
parentc5b836bda734ba5d7873446ba9575cec6ffb07e3
netfilter: nft_ct: add notrack support

This patch adds notrack support.

I decided to add a new expression, given that this doesn't fit into the
existing set operation. Notrack doesn't need a source register, and an
hypothetical NFT_CT_NOTRACK key makes no sense since matching the
untracked state is done through NFT_CT_STATE.

I'm placing this new notrack expression into nft_ct.c, I think a single
module is too much.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Gbp-Pq: Topic features/all
Gbp-Pq: Name netfilter-nft_ct-add-notrack-support.patch
net/netfilter/nft_ct.c